package com.xyht.sca_s.student_manage_system.modules.enrollmentManagement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 招生院系专业组织架构设置
 * </p>
 *
 * @author XYHT
 * @since 2024-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_enrollment_management_org_setting")
@ApiModel(value="SmsEnrollmentManagementOrgSetting对象", description="招生院系专业组织架构设置")
public class SmsEnrollmentManagementOrgSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "组织类型  1：院系  2：专业")
    private Integer orgType;

    @ApiModelProperty(value = "组织名")
    private String orgName;

    @ApiModelProperty(value = "父id  院系默认父id为0")
    private String parentId;

    @ApiModelProperty(value = "组织代码")
    private String orgCode;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer isDeleted;


}
